import { Routes } from '@angular/router';
import { DormitoryListComponent } from './components/dormitory-list/dormitory-list.component';
import { StudentComponent } from './student/student.component';
import { WorkflowFormComponent } from './components/workflow-form/workflow-form.component';
import { UploadTestComponent } from './components/upload-test/upload-test.component';

export const routes: Routes = [
  { path: '', pathMatch: 'full', redirectTo: 'dormitories' },
  { path: 'dormitories', component: DormitoryListComponent },
  { path: 'students', component: StudentComponent },
  { path: 'step', component: WorkflowFormComponent },
  {
    path: 'upload-test',
    component: UploadTestComponent
  },
];
